package TankBuilder;



public class Tank implements IProduct
{
	public IProductPart body;
	public IProductPart engine;	
	public IProductPart tower;
	
	
	
	public Tank() {
		
		
		
	}

	@Override
	public void installFirstPart(IProductPart body) {
		
		this.body = body;
		System.out.println("Body Installed ");
	}

	@Override
	public void installSecondPart(IProductPart engine) {

		this.engine = engine;
		System.out.println("Engine Installed");
	}

	@Override
	public void installThirdPart(IProductPart tower) {

		this.tower = tower;
		System.out.println("Tower Installed");
	}

}
